﻿using System;
using System.Windows.Forms;

namespace RabbitDownload.WebSite.Yande.Pool
{
    public partial class YandePoolControl : UserControl
    {
        public YandePoolControl()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            YandePoolScanner.AutoScanner(textBox1.Text);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            YandePoolScanner.ScannerListPage(textBox2.Text);
        }

        private void textBox2_KeyPress(object sender, KeyPressEventArgs e)
        {
            Helper.ViewHelper.TextBoxHelper.PrintCount(e);
        }
    }
}